home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14914 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: pop.gnn.com!PLayton
  2. From: PLayton@gnn.com (Pam Layton)
  3. Newsgroups: comp.lang.c++
  4. Subject: doublelinked lists
  5. Date: Tue, 02 Apr 1996 13:41:44
  6. Organization: APCO, Inc.
  7. Message-ID: <4jrs9g$1pl@news-e2c.gnn.com>
  8. NNTP-Posting-Host: www-36-213.gnn.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset="us-ascii"
  11. X-GNN-NewsServer-Posting-Date: 2 Apr 1996 18:39:44 GMT
  12. X-Mailer: GNNmessenger 1.2
  13.  
  14. I need some help.  I have written a program for my C++ class.  It 
  15. contains a struct for name information, a stuct for address 
  16. information.  Then 3 classes, 1 for the name info, 1 for address 
  17. info, and 1 for combining the two.  This creates a nice little 
  18. address list.  I have the information stored in an array.  Now, I 
  19. need to modify this program to use a double linked list instead of 
  20. an array and be able to insert the information into the proper 
  21. spot.  Alphabetically.  Does anyone know the best way I can go 
  22. about this?  Do I do away with the classes and all, or can I work 
  23. with it as I have it?  It wasn't explained to us very well and I 
  24. really don't understand.
  25.  
  26. Thank you for any suggestions.
  27.  
  28. Pam
  29.  
  30.